import { vModelCheckbox } from "vue";
import { createStore } from "vuex";

export default createStore({
  state: {
    booklist: [],
  },
  mutations: {
    addbook(state,book){
        state.booklist.push(book)
        console.log(state.booklist);
        
    }
  },
  actions: {},
  getters: {},
  modules: {},
});
